home *** CD-ROM | disk | FTP | other *** search
- Thomas Marx writes:
- > But every program (the tutorials and the exapmles) crash or say that virtual
- > memory is exhausted although I have lots free.
-
- When you say it crashes, do you have any kernel messages relating to the crash?
- An 'Oops' maybe?
-
- > Beside of this I tried to compile python. It compiled the most part but
- > when run a test it said that there was a mistake within the sqrt routine.
- > What is the source of this error?
-
- I seem to remember that this is what happened when I attempted it. If anyone
- can track down the error... Let me guess... sqtd doesn't work the way that
- I thought it ought to???
-
- .file "sqrt.S"
- #include <linux/errno.h>
- .text
-
- .global _sqrt
- _sqrt: stmfd sp!, {r0, r1}
- ldfd f0, [sp], #8
- cmfe f0, #0
- bmi domainerr
- sqtd f0, f0
- movs pc, lr
-
- domainerr: mov r0, #EDOM
- ldr r1, =_errno
- str r0, [r1]
- ldr r0, =___huge_val
- ldfd f0, [r0]
- mnfd f0, f0
- movs pc, lr
-
- > Another mistake was when compiling an assembler file the routine
- > ASM_OUTPUT_ADDDIR_DIFF_ELT was not known. What is this?
-
- Don't give the compiler -fPIC or -fpic options!!!
- _____
- |_____| ------------------------------------------------- ---+---+-
- | | Russell King rmk@ecs.soton.ac.uk --- ---
- | | | | http://www.arm.uk.linux.org/~rmk/home.html / / |
- | +-+-+ --- -+-
- / | THE developer of ARM Linux |+| /|\
- / | | | --- |
- +-+-+ ------------------------------------------------- /\\\ |
-
-